import request from '@/utils/request'

// 现在只能用get请求,上线后请换成post
export const createOrder = (data) => {
  return request({
    url: '/imitate/orders/createOrder.json',
    method: 'GET',
    data
  })
}

export const createPayment = (data) => {
  return request({
    url: '/imitate/orders/createPayment.json',
    method: 'GET',
    data
  })
}
